<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body ng-app="todoApp" >

<div ng-controller="MyCtrl">
  <h2>我的备忘录</h2>
  <input type="text" ng-model="newTodo">
  <button ng-click="add()">添加</button>
  <div >
    <div ng-repeat="todo in todoList ">
      <input type="checkbox" ng-model=todo.checked>
      <span>{{todo.name}}</span>
    </div>
    <button ng-click="dele()">删除</button>
  </div>
</div>


<script type="text/javascript" src="../../js/angular-1.5.5/angular.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>
